<?php 

namespace ShowStop\UserBundle\Entity;
 
use Doctrine\ORM\Mapping as ORM;
 
/**
 * @ORM\Entity
 * @ORM\Table(name="notifications")
 */
class Notification 
{
    /**
     * @ORM\Id
     * @ORM\Column(type="integer")
     * @ORM\GeneratedValue(strategy="AUTO")
     *
     * @var integer $id
     */
    protected $id;
 
    /**
     * @ORM\ManyToOne(targetEntity="User", inversedBy="notifications")
     * @ORM\JoinColumn(name="user_id", referencedColumnName="id")
     */
    protected $user;
 
    /**
     * @ORM\ManyToOne(targetEntity="ShowStop\TelevisionBundle\Entity\Series", inversedBy="notifications")
     * @ORM\JoinColumn(name="series_id", referencedColumnName="id")
     */
    protected $series;
    
    /**
    * @var string $notification_date
    *
    * @ORM\Column(name="notification_date", type="string")
    */
    protected $notification_date;
    
    /**
    * @var string $status
    *
    * @ORM\Column(name="status", type="string")
    */
    protected $status;
 
    /**
     * Gets the id.
     *
     * @return integer The id.
     */
    public function getId()
    {
        return $this->id;
    }
    
    public function getSeries() {
    	return $this->series;	
    }
    
    public function getUser() {
    	return $this->user;
    }
    
    public function getNotificationDate() {
    	return $this->notification_date;
    }
    
    public function getStatus() {
    	return $this->status;
    }
    
    
    public function setStatus( $s ) {
    	$this->status = $s;
    }
    
    public function setSeries( $s ) {
    	$this->series = $s;
    }
    
    public function setUser( $u ) {
    	$this->user = $u;
    }
    
    public function setNotificationDate( $d ) {
    	$this->notification_date = $d;
    }
    
 
}
?>